#include <iostream>
using namespace std; 

double component(double x,int n){
	if(n == 1){
		return x; 
	}
	double temp = component(x,n/2); 
	if(n%2 == 0){
		return temp*temp; 
	}
	if(n%2 == 1){
		return temp*temp*x;
	}
	
}
int main(){
	cout << component(95.123,12) << endl;
}
